//
//  Macros.h
//  songYiGou
//
//  Created by Tiancheng on 16/7/11.
//  Copyright © 2016年 Tiancheng. All rights reserved.
//

#ifndef Macros_h
#define Macros_h

#define screenWidth [UIScreen mainScreen].bounds.size.width
#define screenHeight [UIScreen mainScreen].bounds.size.height
#define blackFont [UIColor colorWithRed:34/255.0 green:34/255.0 blue:34/255.0 alpha:1]
#define grayFont [UIColor colorWithRed:142/255.0 green:142/255.0 blue:142/255.0 alpha:1]
#define navColor [UIColor colorWithRed:244/255.0 green:143/255.0 blue:177/255.0 alpha:1]
#define btnColor [UIColor colorWithRed:216/255.0 green:26/255.0 blue:96/255.0 alpha:1]
#define statusColor [UIColor colorWithRed:240/255.0 green:98/255.0 blue:146/255.0 alpha:1]
#define bgColor [UIColor colorWithRed:243/255.0 green:243/255.0 blue:243/255.0 alpha:1]
//APPID
#define WECHAT_APPID  [NSString stringWithFormat:@"wx8aa4c5b600f8687d"]

#define APP_SECRET      @"0158585ba906772b6e661ded26527101" //appsecret
//商户号，填写商户对应参数
#define MCH_ID          @"1383636402"
//商户API密钥，填写相应参数
#define PARTNER_ID      @"ks6bPVT2EQeND4wDy1IknGf4KNDiGKEk"

//支付结果回调页面
#define NOTIFY_URL      @"http://wxpay.weixin.qq.com/pub_v2/pay/notify.v2.php"
//获取服务器端支付数据地址（商户自定义）
#define SP_URL          @"http://wxpay.weixin.qq.com/pub_v2/app/app_pay.php"
#define pinkColor [UIColor colorWithRed:233/255.0 green:30/255.0 blue:90/255.0 alpha:1.0]
#define customGrayColor [UIColor colorWithRed:243/255.0 green:243/255.0 blue:243/255.0 alpha:1]
//获取uid的值
#define userID [[TCLYUser alloc]init].userId
#endif /* Macros_h */
